projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40eb4c5
)
Fix input method operation on read-only text
author
Evgeny Zajcev
<lg.zevlg@gmail.com>
Wed, 4 Sep 2019 15:09:55 +0000
(18:09 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 7 Sep 2019 10:04:36 +0000
(13:04 +0300)
* lisp/international/quail.el (quail-input-method): Check also
read-only property of text in addition to the buffer's
read-only state.
lisp/international/quail.el
patch
|
blob
|
history
diff --git
a/lisp/international/quail.el
b/lisp/international/quail.el
index f42b594dc4680a2b3830b6d4147f71d0a42b2198..e91175fb832954b84abaef1d957d238c494c27fd 100644
(file)
--- a/
lisp/international/quail.el
+++ b/
lisp/international/quail.el
@@
-1329,7
+1329,8
@@
If STR has `advice' text property, append the following special event:
(defvar quail-conversion-str nil)
(defun quail-input-method (key)
- (if (or (and buffer-read-only
+ (if (or (and (or buffer-read-only
+ (get-char-property (point) 'read-only))
(not (or inhibit-read-only
(get-char-property (point) 'inhibit-read-only))))
(and overriding-terminal-local-map